package com.gl.service.impl;

import com.gl.common.enums.ErrorCode;
import com.gl.service.IFirstService;
import com.gl.service.exception.ServiceException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

/**
 * @author gaol
 * @version 1.0
 * @date 2017/5/12
 */
@Service
public class FirstService implements IFirstService{

    public static Logger logger= LoggerFactory.getLogger(FirstService.class);


    @Override
    public void println() {
        logger.info("获取资源信息");
        throw new ServiceException("测试", ErrorCode.SERVICE_ERROR);
    }
}
